﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using DeliveryBoy.Workflow.Interfaces;

namespace DeliveryBoy.Workflow.Services.Obsolete
{
    [Serializable()]
	public class TakeoutProviderWorkflowService 
    {
        #region ITakeoutProviderWorkflow Members

        public event EventHandler<TakeoutProviderWorkflowInitEventArgs> InitTakeoutProviderWorkflow;

        public event EventHandler<TakeoutProviderAddTakeoutUserEventArgs> AddTakeoutUser;

        public void CreateTakeoutUser(Guid takeoutProviderWorkflowInstanceId, int takeoutUserId)
        {
            if (AddTakeoutUser != null)
            {
                AddTakeoutUser(this, new TakeoutProviderAddTakeoutUserEventArgs(takeoutProviderWorkflowInstanceId, takeoutUserId));
            }
        }

        #endregion
    }
}
